import React, {Component, PropTypes} from 'react';
import {connect} from 'react-redux';


import Header from '../components/Header';
import Back from '../../../components/Back';
import InfoOrder from '../components/InfoOrder';
import FooterMenu from '../../../components/FooterMenu';

class OrderContentContainer extends Component {
  render() {
    return (
 		<div className="page oredr-page">
      <div className="inner">
        <Header {...this.props}>
          <Back />
          <h3>注单详情</h3>
        </Header>
        <div className="page-body">
          <InfoOrder {...this.props} />
        </div>
      </div>
    </div>);
  }
};

function mapStateToProps(state) {
  const {userModule, app} = state;
  return {
    userModule,
    app
  };
}

export default connect(mapStateToProps)(OrderContentContainer);